<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class TemplatesLog extends Model
{
    //
    use SoftDeletes;
    
    protected $connection = 'mysql';
	
	protected $appends = ['contents'];
	public function getContentsAttribute()
    {
        return htmlspecialchars($this->content);
    }
}
